<!--
- @founder   IT柏拉图, https: //weibo.com/itprato
- @author    DedeCMS团队
- @copyright Copyright (c) 2007 - 2021, 上海卓卓网络科技有限公司 (DesDev, Inc.)
--->

<html>
<head>
<meta charset="{dede:global.cfg_soft_lang/}" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>一键更新</title>
<meta name="copyright" content="2007-2021 DedeCMS, 上海卓卓网络科技有限公司 (DesDev, Inc.)" />
<link rel="icon" href="/favicon.ico" />
<!-- CSS FILES -->
<link rel="stylesheet" type="text/css" href="{dede:global.cfg_assets_dir/}/pkg/uikit/css/uikit.min.css" />
<link rel="stylesheet" type="text/css" href="{dede:global.cfg_assets_dir/}/css/manage.dede.css">
</head>
<body>
<form action="makehtml_all.php" target="stafrm" method="post">
<input type="hidden" name="action" value="make" />
<!-- 列表头部 -->
<div id="Table_Header_202X2W2X1X292F" class="uk-card uk-card-small uk-card-default" uk-sticky="bottom: #offset">
<div id="Header_1W2T2S2T1V252B" class="uk-card-header">
<div class="uk-grid uk-grid-small uk-text-small">
<span><ul class="uk-breadcrumb"><li><span>一键更新网站</span></li></ul></span>
</div>
</div>
</div>
<!-- /列表头部 -->
<div class="uk-card-body uk-overflow-auto" grid>
<div class="uk-child-width-1-1">
<table class="uk-table uk-table-middle uk-table-divider uk-table-striped uk-margin-remove" >
<tbody>
<tr style="border-top: 0;">
<td><b>功能选择：</b></td>
</tr>
</tbody>
</table>
</div>
<div class="uk-form-horizontal uk-padding-small">
<table class="uk-table uk-table-middle uk-margin-remove" >
<tbody>
<tr>
<td><b>更新选项</b></td>
<td>
<label style="margin-right: 12px;"><input name="uptype" id="uptype1" type="radio" class="uk-radio" value="time" onClick="SelUp()" checked="checked" /> 指定时间的所有更新</label>
<label style="margin-right: 12px;"><input name="uptype" id="uptype2" type="radio" class="uk-radio" onClick="SelUp()" value="id" /> 指定ID文档的所有更新</label>
<label><input name="uptype" id="uptype3" type="radio" class="uk-radio" onClick="SelUp()" value="mkall" /> 更新所有</label>
</td>
</tr>
<tr id='seltime'>
<td><b>起始时间</b></td>
<td>
<div class="uk-inline">
<span class="uk-form-icon uk-icon" uk-icon="icon: calendar4-week"></span>
<input class="uk-input uk-form-width-large uk-form-small" name="starttime" type="datetime-local" value="<?=GetDateTimeMk(time())?>" placeholder="1970-01-01T00:00:00Z">
</div>
</td>
</tr>
<tr id='selid' style="display:none;">
<td><b>起始ID</b></td>
<td>
<input name="startid" type="text" id="startid" value="0" class="uk-input uk-form-width-medium uk-form-small"/>
</td>
</tr>
</tbody>
</table>
</div>
<table class="uk-table uk-table-middle uk-table-divider uk-table-striped uk-margin-remove" >
<tbody>
<tr>
<td align="right" ><button type="submit" class="uk-button uk-button-primary uk-button-small">开始执行</button> </td>
</tr>
</tbody>
</table>
</div>
<iframe name="stafrm" frameborder="0" id="stafrm" class="uk-width-1-1" uk-height-viewport="offset-bottom: true"></iframe>
<!-- 列表底部 -->
<div class="bar-bottom uk-flex uk-light uk-flex-right">
<div class="uk-button-group" style="margin-left: 50px;">
</div>
<div class="e1e02">Copyright &copy; 2007-2021 <a href='http://www.dedecms.com' target='_blank'><u>DedeCMS</u></a>, 上海卓卓网络科技有限公司 (DesDev, Inc.)</div>
</div>
<!-- 列表底部 -->
</form>
<!-- JS FILES -->
<script src="{dede:global.cfg_assets_dir/}/pkg/uikit/js/uikit.min.js"></script>
<script src="{dede:global.cfg_assets_dir/}/pkg/uikit/js/uikit-icons.min.js"></script>
<script src="{dede:global.cfg_assets_dir/}/pkg/jquery/jquery.min.js"></script>
<script language="javascript">
function SelUp() {
var ob1 = document.getElementById("uptype1");
var ob2 = document.getElementById("uptype2");
var ob3 = document.getElementById("uptype3");
if (ob1.checked) {
document.getElementById("seltime").style.display = "";
document.getElementById("selid").style.display = "none";
} else if (ob2.checked) {
document.getElementById("seltime").style.display = "none";
document.getElementById("selid").style.display = "";
} else {
document.getElementById("seltime").style.display = "none";
document.getElementById("selid").style.display = "none";
}
}
</script>
<!-- / JS FILES -->
</body>
</html>
